import os
from config.config_test import TestConfig
from config.config_pre import PreConfig

env = os.environ.get('APP_ENV', 'test')

if env == 'test':
    config = TestConfig()
elif env == 'pre':
    config = PreConfig()
else:
    raise ValueError("Invalid environment specified in APP_ENV")
